package com.jt.entity;

public class Course {

    private Integer id;
    private String sname;
    private Teacher teacher;

    private Integer status;
    private Classs classs;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Classs getClasss() {
        return classs;
    }

    public void setClasss(Classs classs) {
        this.classs = classs;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", sname='" + sname + '\'' +
                ", teacher=" + teacher +
                ", status=" + status +
                ", classs=" + classs +
                '}';
    }
}
